﻿///***************************************************************
/// 시  스  템 : Updms.Dvd.Dac
/// 단위시스템 : DVD
/// 계      층 : Data Access Layer
/// 프로그램명 : Dvd_Dac_UPDMS_DVD_REPORT_Dvd2010r
/// 파  일  명 : Dvd_Dac_UPDMS_DVD_REPORT_Dvd2010r.cs
/// 설      명 : DVD요약정보
///***************************************************************
/// 수정ID 일자       이름     내용
///---------------------------------------------------------------
/// CH001  2008-08-13 송시명   최초 작성
///***************************************************************
using System.Data;
using System.Data.SqlClient;
using System.EnterpriseServices;
using System.Runtime.InteropServices;

using SMFramework.Data;


namespace Updms.Dvd.Dac
{
	[ComVisible(true)]
	[Transaction(TransactionOption.Supported)]
	[JustInTimeActivation(true)]
	public class Dvd_Dac_UPDMS_DVD_REPORT_Dvd2010r : Base.AppFramework.DacBase
	{
		public Dvd_Dac_UPDMS_DVD_REPORT_Dvd2010r()
		{
		}

		#region NT [GetTotalSummaryList]
		/// <summary>
		/// DVD요약정보
		/// </summary>
		/// <returns></returns>
		[AutoComplete]
		public DataSet GetTotalSummaryList()
		{
			string strSql = "usp_UPDMS_DVD_REPORT_Dvd2010r_Get_Total_Summary_List";			

			DataSet ds = new DataSet();
			return _agent.Fill(strSql, "UPDMS_DVD_REPORT", ds, null, CommandType.StoredProcedure);
		}
		
		#endregion

		#region NT [GetCategoryListByDiv]
		/// <summary>
		/// 카테고리별 등록수 리스트
		/// </summary>
		/// <param name="lo_dp"></param>
		/// <returns></returns>
		[AutoComplete]
		public DataSet GetCategoryListByDiv(DataPack lo_dp)
		{
			string strSql = "usp_UPDMS_DVD_REPORT_Dvd2010r_Get_Category_List_By_Div";

			SqlParameter[] paramArray = lo_dp.ToSqlParameters();

			DataSet ds = new DataSet();
			return _agent.Fill(strSql, "UPDMS_DVD_REPORT", ds, paramArray, CommandType.StoredProcedure);
		}

		#endregion

	}
}
